<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>The Random\Engine\Xoshiro256StarStar class</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="random-engine-pcgoneseq128xslrr64.unserialize.html">« Random\Engine\PcgOneseq128XslRr64::__unserialize</a></li>
      <li style="float: right;"><a href="random-engine-xoshiro256starstar.construct.html">Random\Engine\Xoshiro256StarStar::__construct »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="book.random.html">Random</a></li>
    <li>The Random\Engine\Xoshiro256StarStar class</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="class.random-engine-xoshiro256starstar" class="reference">
 <h1 class="title">The Random\Engine\Xoshiro256StarStar class</h1>
 

 <div class="partintro"><p class="verinfo">(PHP 8 &gt;= 8.2.0)</p>


  <div class="section" id="random-engine-xoshiro256starstar.intro">
   <h2 class="title">简介</h2>
   <p class="para">
    Implements the <a href="https://prng.di.unimi.it/" class="link external">&raquo;&nbsp;xoshiro256**</a> algorithm.
   </p>
  </div>


  <div class="section" id="random-engine-xoshiro256starstar.synopsis">
   <h2 class="title">类摘要</h2>


   <div class="classsynopsis">
    <div class="ooclass">
     
    </div>

    <div class="classsynopsisinfo">
     <span class="ooclass">
      <span class="modifier">final</span>
      <span class="modifier">class</span> <strong class="classname">Random\Engine\Xoshiro256StarStar</strong>
     </span>

     <span class="oointerface"><span class="modifier">implements</span> 
       <a href="class.random-engine.html" class="interfacename">Random\Engine</a></span> {</div>

    <div class="classsynopsisinfo classsynopsisinfo_comment">/* 方法 */</div>
    <div class="constructorsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><a href="random-engine-xoshiro256starstar.construct.html" class="methodname">__construct</a></span>(<span class="methodparam"><span class="type"><span class="type">string</span>|<span class="type">int</span>|<span class="type">null</span></span> <code class="parameter">$seed</code><span class="initializer"> = <strong><code>null</code></strong></span></span>)</div>

    <div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="random-engine-xoshiro256starstar.debuginfo.html" class="methodname">__debugInfo</a></span>(): <span class="type">array</span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="random-engine-xoshiro256starstar.generate.html" class="methodname">generate</a></span>(): <span class="type">string</span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="random-engine-xoshiro256starstar.jump.html" class="methodname">jump</a></span>(): <span class="type"><span class="type void">void</span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="random-engine-xoshiro256starstar.jumplong.html" class="methodname">jumpLong</a></span>(): <span class="type"><span class="type void">void</span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="random-engine-xoshiro256starstar.serialize.html" class="methodname">__serialize</a></span>(): <span class="type">array</span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="random-engine-xoshiro256starstar.unserialize.html" class="methodname">__unserialize</a></span>(<span class="methodparam"><span class="type">array</span> <code class="parameter">$data</code></span>): <span class="type"><span class="type void">void</span></span></div>

   }</div>


  </div>

 </div>

 





























<h2>目录</h2><ul class="chunklist chunklist_reference"><li><a href="random-engine-xoshiro256starstar.construct.html">Random\Engine\Xoshiro256StarStar::__construct</a> — Constructs a new xoshiro256** engine</li><li><a href="random-engine-xoshiro256starstar.debuginfo.html">Random\Engine\Xoshiro256StarStar::__debugInfo</a> — Returns the internal state of the engine</li><li><a href="random-engine-xoshiro256starstar.generate.html">Random\Engine\Xoshiro256StarStar::generate</a> — Generate 64 bits of randomness</li><li><a href="random-engine-xoshiro256starstar.jump.html">Random\Engine\Xoshiro256StarStar::jump</a> — Efficiently move the engine ahead by 2^128 steps</li><li><a href="random-engine-xoshiro256starstar.jumplong.html">Random\Engine\Xoshiro256StarStar::jumpLong</a> — Efficiently move the engine ahead by 2^192 steps</li><li><a href="random-engine-xoshiro256starstar.serialize.html">Random\Engine\Xoshiro256StarStar::__serialize</a> — Serializes the Xoshiro256StarStar object</li><li><a href="random-engine-xoshiro256starstar.unserialize.html">Random\Engine\Xoshiro256StarStar::__unserialize</a> — Deserializes the data parameter into a Xoshiro256StarStar object</li></ul>
</div>
</div></div></body></html>